User can used this recognition method in the following ways:
After application preparation (for hybrid application): Preparing Native/Hybrid Applications for Testing
On mobile web testing: Performing Mobile Web Testing
Using the object spy mode: Using the Reflection's Control Buttons
User can get the Web properties of all HTML objects on the screen.
We will show how to use native recognition while using the Eri-bank Instrumented demo application.
Step 1: After login into the application, you will have the Hybrid page in the application.
The "Your Balance is 140.00 $" is web part in this application.
Step 2: Click on the 'object spy' button at the bottom of the device reflection.
Web elements are identified with the blue color on object spy mode. By marking one of such elements, you can get its web properties.
Step 3: Extract the element's web property.
Click the "Your Balance is 140.00 $"
Right Click on the "Your Balance is 140.00 $" element.
Click on the 'Extract Object'.
A pop-up will generate in which you need to choose from following values:
Create New Object: Regular extraction.
Add to Existing: Add the element's property to an existing element.
In the element property, you will see the 4 tabs, click on the web tab, you will see 'Enable' check box ticked and the element's web properties are written in the field below: